package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 钱包账户信息-Doo实体
 * Created by zhangyongli on 2020/01/08
 */
@Data
public class WalletAccountInfoDoo implements Serializable {

    /**
     * 钱包在区块链上地址
     */
    @Column("wallet_address")
    private String walletAddress;

    /**
     * 钱包名称，可以为以太坊钱包，比特币钱包等
     */
    @Column("wallet_name")
    private String walletName;

    /**
     * 1000-私户
     * 2000-公户
     */
    @Column("wallet_type")
    private String walletType;

    /**
     * 钱包私钥
     */
    @Column("secret_key")
    private String secretKey;

    /**
     * 钱包keystore
     */
    @Column("key_store")
    private String keyStore;

    /**
     * 交易密码
     */
    @Column("trans_pwd")
    private String transPwd;

    //账户信息

    //     账户唯一标识
    @Column("ACCOUNT_ID")
    private String accountId;
    @Column("ACCOUNT_NAME")
    private String accountName;
    // 币种唯一标识
    @Column("MONEY_TYPE_ID")
    private String moneyTypeId;
    /**
     * 账户余额
     */
    @Column(" MONEY_AMOUNT")
    private BigDecimal moneyAmount;

    @Column("accout_type")
    private String accoutType;

    /**
     * 币种单位
     */
    @Column("money_type_unit")
    private String moneyTypeUnit;
    /**
     * 合约地址
     */
    @Column(" contract_address")
    private String contractAddress;


}